package net.zjitc.Zifu;

import java.util.Scanner;

/**
 * @Author admin
 * @Date 2019/3/27 8:27
 */
public class Zifu {
    public static void main(String[] args) {
        Scanner in =new Scanner(System.in);
        String str=in.nextLine();
        int dx=0;
        int xx=0;
        int sz=0;
        for (int i=0;i<str.length();i++){
              if (str.charAt(i)>='a'&& str.charAt(i)<='z'){
                  xx++;
              } else if (str.charAt(i)>='A'&& str.charAt(i)<='Z'){
                  dx++;
              }else if (str.charAt(i)>='0'&& str.charAt(i)<='9'){
                  sz++;
              }
        }
        System.out.println("大写字母有:"+dx);
        System.out.println("小写字母有:"+xx);
        System.out.println("数字有:"+sz);
    }
}
